package com.lyx.server.controller;


import com.lyx.common.vo.R;
import com.lyx.server.service.UserInviteService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


/**
 * ⽤户邀请表(UserInvite)表控制层
 *
 * @author McMeloxD
 * @since 2024-08-12 19:02:00
 */
@RestController
@RequestMapping("/server/userinvite")
public class UserInviteController  {
    /**
     * 服务对象
     */
    @Resource
    private UserInviteService service;

    @GetMapping("all")
    R queryByUid(Integer uid){
        return service.queryByUid(uid);
    }
}

